package pe.gob.mtpe.construcsys.bean;

import java.io.Serializable;
import java.util.Date;

public class Retcc implements Serializable{
	
    /**
	 * 
	 */
	private static final long serialVersionUID = -584579770651236114L;

	private Integer nCorrtc;

    private String vCodreg;

    private String vCodzon;

    private Integer nNumdep;

    private String vNumdoc;

    private String vCodtdocide; 

    private String vFlgorgsin;

    private String vNumexpsin;

    private String vDesorgsin;

    private Date dFecins;

    private Date dFecemi;

    private Date dFecfin;

    private String vTipretcc;

    private String vEstretcc;

    private Date dFeccancel;

    private Integer nCordetmc;

    private String vCodusureg;

    private Date dFecreg;

    private String vHostreg;

    private String vCodusumod;

    private Date dFecmod;

    private String vHostmod;
    
    private Persona persona;
    
    private Integer nCorrtcnumreg;
    
   //FOTO
    private String vRutafoto;
    
    //motivo de cancelacion
    private Integer nCormc;
    
    private String vDesmotcan;
    
    
    
    
    

    public String getvRutafoto() {
		return vRutafoto;
	}

	public void setvRutafoto(String vRutafoto) {
		this.vRutafoto = vRutafoto;
	}

	public Integer getnCorrtc() {
        return nCorrtc;
    }

    public void setnCorrtc(Integer nCorrtc) {
        this.nCorrtc = nCorrtc;
    }

    public String getvCodreg() {
        return vCodreg;
    }

    public void setvCodreg(String vCodreg) {
        this.vCodreg = vCodreg;
    }

    public String getvCodzon() {
        return vCodzon;
    }

    public void setvCodzon(String vCodzon) {
        this.vCodzon = vCodzon;
    }

    public Integer getnNumdep() {
        return nNumdep;
    }

    public void setnNumdep(Integer nNumdep) {
        this.nNumdep = nNumdep;
    }

    public String getvNumdoc() {
        return vNumdoc;
    }

    public void setvNumdoc(String vNumdoc) {
        this.vNumdoc = vNumdoc;
    }

    public String getvCodtdocide() {
        return vCodtdocide;
    }

    public void setvCodtdocide(String vCodtdocide) {
        this.vCodtdocide = vCodtdocide;
    }

    public String getvFlgorgsin() {
        return vFlgorgsin;
    }

    public void setvFlgorgsin(String vFlgorgsin) {
        this.vFlgorgsin = vFlgorgsin;
    }

    public String getvNumexpsin() {
        return vNumexpsin;
    }

    public void setvNumexpsin(String vNumexpsin) {
        this.vNumexpsin = vNumexpsin;
    }

    public String getvDesorgsin() {
        return vDesorgsin;
    }

    public void setvDesorgsin(String vDesorgsin) {
        this.vDesorgsin = vDesorgsin;
    }

    public Date getdFecins() {
        return dFecins;
    }

    public void setdFecins(Date dFecins) {
        this.dFecins = dFecins;
    }

    public Date getdFecemi() {
        return dFecemi;
    }

    public void setdFecemi(Date dFecemi) {
        this.dFecemi = dFecemi;
    }

    public Date getdFecfin() {
        return dFecfin;
    }

    public void setdFecfin(Date dFecfin) {
        this.dFecfin = dFecfin;
    }

    public String getvTipretcc() {
        return vTipretcc;
    }

    public void setvTipretcc(String vTipretcc) {
        this.vTipretcc = vTipretcc;
    }

    public String getvEstretcc() {
        return vEstretcc;
    }

    public void setvEstretcc(String vEstretcc) {
        this.vEstretcc = vEstretcc;
    }

    public Date getdFeccancel() {
        return dFeccancel;
    }

    public void setdFeccancel(Date dFeccancel) {
        this.dFeccancel = dFeccancel;
    }

    public Integer getnCordetmc() {
        return nCordetmc;
    }

    public void setnCordetmc(Integer nCordetmc) {
        this.nCordetmc = nCordetmc;
    }

    public String getvCodusureg() {
        return vCodusureg;
    }

    public void setvCodusureg(String vCodusureg) {
        this.vCodusureg = vCodusureg;
    }

    public Date getdFecreg() {
        return dFecreg;
    }

    public void setdFecreg(Date dFecreg) {
        this.dFecreg = dFecreg;
    }

    public String getvHostreg() {
        return vHostreg;
    }

    public void setvHostreg(String vHostreg) {
        this.vHostreg = vHostreg;
    }

    public String getvCodusumod() {
        return vCodusumod;
    }

    public void setvCodusumod(String vCodusumod) {
        this.vCodusumod = vCodusumod;
    }

    public Date getdFecmod() {
        return dFecmod;
    }

    public void setdFecmod(Date dFecmod) {
        this.dFecmod = dFecmod;
    }

    public String getvHostmod() {
        return vHostmod;
    }

    public void setvHostmod(String vHostmod) {
        this.vHostmod = vHostmod;
    }

	public Persona getPersona() {
		
		if (persona == null) {
			persona = new Persona();
		} else {
		}
		return persona;
	}

	public void setPersona(Persona persona) {
		this.persona = persona;
	}
	
	
	public Integer getnCormc() {
		return nCormc;
	}

	public void setnCormc(Integer nCormc) {
		this.nCormc = nCormc;
	}

	
	
	public Integer getnCorrtcnumreg() {
		return nCorrtcnumreg;
	}

	public void setnCorrtcnumreg(Integer nCorrtcnumreg) {
		this.nCorrtcnumreg = nCorrtcnumreg;
	}

	
	public String getvDesmotcan() {
		return vDesmotcan;
	}

	public void setvDesmotcan(String vDesmotcan) {
		this.vDesmotcan = vDesmotcan;
	}

	public void valuesToString() {
		
		
		
		System.out.println("Retcc [nCorrtc=" + nCorrtc + ", vCodreg=" + vCodreg
				+ ", vCodzon=" + vCodzon + ", nNumdep=" + nNumdep
				+ ", vNumdoc=" + vNumdoc + ", vCodtdocide=" + vCodtdocide
				+ ", vFlgorgsin=" + vFlgorgsin + ", vNumexpsin=" + vNumexpsin
				+ ", vDesorgsin=" + vDesorgsin + ", dFecins=" + dFecins
				+ ", dFecemi=" + dFecemi + ", dFecfin=" + dFecfin
				+ ", vTipretcc=" + vTipretcc + ", vEstretcc=" + vEstretcc
				+ ", dFeccancel=" + dFeccancel + ", nCordetmc=" + nCordetmc
				+ ", vCodusureg=" + vCodusureg + ", dFecreg=" + dFecreg
				+ ", vHostreg=" + vHostreg + ", vCodusumod=" + vCodusumod
				+ ", dFecmod=" + dFecmod + ", vHostmod=" + vHostmod + ", nCormc=" + nCormc + 
				"]" + "\n\n"); 
		
		persona.valuesToString();
	}
    
	
    
}